import request from '@/utils/request'
// 通过关键字查询

export function getActInfo(actId) {
  return request({
    url: '/Act/selectByPrimaryKey',
    method: 'GET',
    params: {
      actId: actId
    }
  })
}

// 更新act表中的信息
export function updateActInfoSend(actId, actSendId) {
  return request({
    url: '/Act/updateByPrimaryKey',
    method: 'PUT',
    params: {
      actId: actId,
      actSendId: actSendId
    }
  })
}
export function updateActInfoSendStatus(actId, actSendId, actStatus) {
  return request({
    url: '/Act/updateByPrimaryKey',
    method: 'PUT',
    params: {
      actId: actId,
      actSendId: actSendId,
      actStatus: 0
    }
  })
}
